package Excercise;

public class Ex01_Q07 {

	
	public static void main(String[] args) {
		double x = 2.5;
		double y = -1.5;
		int m = 18;
		int n = 4;
		
		double a;
		double b;
		double c;
		double d;
		
		a = x+n*y-(x+n)*y;
		b = m / n + m % n;
		c = 5 * x - n / 5;
		d = 1- (1-(1-(1-(1-n))));
		
		System.out.println(a);
		System.out.println(b);
		System.out.println(c);
		System.out.println(d);
		}
}
